<?php
/**
 * This Country class contains methods to work with the Country database table
 *
 * @copyright  2009 A Memory Tree
 * @license    A Memory Tree License
 * @link       http://my-trac.assembla.com/amemorytree/ticket/??
 */
class Country
{
    /**
     * Get all of the countries from the Country table
     * 
     * @return resource Returns the ID and Name of all of the countries
     */
    public static function getCountries()
    {
        global $db;
        $sql = "select ID, Name from Country order by Name ASC";
        return $db->query($sql);
    }
}
?>
